package com.qf.day06.customfactory.dao.impl;

import com.qf.day06.customfactory.dao.UserDao;
import com.qf.day06.customfactory.entity.User;

public class UserDaoImpl implements UserDao {

    @Override
    public User getUserById(Integer id) {
        System.out.println("UserDaoImpl的getUserById方法执行了");
        User user=new User();
        user.setId(id);
        user.setName("张三");
        return user;
    }
}
